# Makefile for systems with GNU tools

OBJS = *.c 

.c.o:
	$(CC) $(CFLAGS) -pie -fPIE -O2 -c $*.c 

$(MODNAME): $(OBJS) 
	$(CC) $(CFLAGS) -pie -fPIE -O2 -o $(MODNAME) $(OBJS)

install:
	cp $(MODNAME) $(MODOUT_PATH)/

distclean:
	rm -f *.o *.swp  $(MODNAME)

clean:
	rm -f *.o *.swp  $(MODNAME)

